#include "UI.h"
#include "../Game/gameinfo.h"
extern Game game;
void UI(){
    int flag=0;
    while((flag=prompt())!=5){
        switch (flag)
        {
        case 1:
            whole_roles_situation();
            break;

        case 2:
            browse_handcard(&(game.roles[game.curRound]));
            break;

        case 3:
            choose_card();
            break;
        case 6:
            browse_all_handcard();
            break;
        default:
            break;
        }
    }

}